package com.blackhorse.dynamic_sql.mapper;

import com.blackhorse.domain.User;
import com.blackhorse.dynamic_sql.sql.UserDynamicSqlProvider;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    @SelectProvider(type = UserDynamicSqlProvider.class, method = "findByParamSQL")
    public List<User> findByParam(Map<String, Object> param);
}
